<template>
	<van-nav-bar
		:title="defaultProps.title"
		:left-text="defaultProps.isBack ? '返回' : ''"
		:left-arrow="defaultProps.isBack"
	/>
</template>

<script lang="javascript">
	export default {
		props : {
			defaultProps : Object
		},
		setup () {
			return {};
		}
	};
</script>

<style lang="scss" scoped></style>
